import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2022-12-20
 * Time: 13:35
 */
public class Test {
    public static void main(String[] args) {
        String string = new String("asd");
        String string1 = new String("asd");
        String string2 = "asd";
        //Sting中虽然对象不同，但字符串相同，其hashcode相同
        System.out.println(string.hashCode());
        System.out.println(string1.hashCode());
        System.out.println(string2.hashCode());
        // I 快捷键        for (Object o :) {
        ////
        ////        }
//
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
    }
}
